package com.auction.common.core.exception;

import java.util.Map;

public class ValidateException extends RuntimeException{
    Map<String,String> error;

    public ValidateException(Map<String,String> error){
        super("验证异常");
        this.error = error;
    }

    public Map<String, String> getError() {
        return error;
    }

    public void setError(Map<String, String> error) {
        this.error = error;
    }
}
